import request from '@/utils/request'

const api = {
        apipath: '/gwcs/csms',
    }
    // 查询
export function getList(params) {
    return request({

        url: api.apipath + '/selectCsmsList',
        method: 'get',
        params: params
    })
}

// 修改
export function save(params) {
    return request({

        url: api.apipath + "/saveCsms",
        method: 'post',
        data: params
    })
}

// 删除
export function deleteOne(params) {
    return request({

        url: api.apipath,
        method: 'delete',
        params: params
    })
}

// 详情
export function getxq(params) {
    return request({

        url: api.apipath,
        method: 'get',
        params: params
    })
}